import Vue from 'vue'
import App from './App.vue'
import router from '@/router'
import TypeNav from '@/pages/Home/TypeNav'
import HeadSelections from "@/pages/Home/HeadSelections";
import axios from './axios'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import store from './store'
import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'
import global_ from './Global'

Vue.use(ElementUI)
Vue.use(mavonEditor)
Vue.component(TypeNav.name, TypeNav)
Vue.component(HeadSelections.name, HeadSelections)
Vue.prototype.$axios = axios
Vue.prototype.GLOBALVAR = global_
Vue.config.productionTip = false

new Vue({
  data: function() {
    return {
      isInLogPage: false
    }
  },
  render: h => h(App),
  router,
  store
}).$mount('#app')

/*
import Vue from 'vue'
import App from './App.vue'
import router from '@/router'
import TypeNav from '@/pages/Home/TypeNav'
import HeadSelections from "@/pages/Home/HeadSelections";
// import axios from './axios'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import store from './store'
import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'
import axios from 'axios'

Vue.use(ElementUI)
Vue.use(mavonEditor)
Vue.component(TypeNav.name, TypeNav)
Vue.component(HeadSelections.name, HeadSelections)
// Vue.prototype.$axios = axios
Vue.config.productionTip = false


new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
*/
